//
//  FindSitesViewController.h
//  AirConditioner
//
//  Created by Sean Wang on 12-4-24.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
@class SitesResultsViewController;

#define findRetailer 1
#define findSpecialist 2

@interface FindSitesViewController : UIViewController <UITextFieldDelegate, CLLocationManagerDelegate>{
    SitesResultsViewController *sitesResultsViewController;
    CLLocationManager *locationManager;
    CLLocation *currentLocation;
}


@property (nonatomic,assign) NSInteger currentState;
@property (nonatomic,retain) CLLocationManager *locationManager;
@property (nonatomic,assign) IBOutlet UITextField *postcodeField;
@property (nonatomic,assign) IBOutlet UITextField *suburbField;
@property (nonatomic,assign) IBOutlet UILabel *searchNearBy;
@property (nonatomic,assign) IBOutlet UIActivityIndicatorView *indicator;

- (IBAction)go:(id)sender;
- (IBAction)searchNearBy:(id)sender;

@end
